!function(t,e,n){function r(n,o){if(!e[n]){if(!t[n]){var a="function"==typeof __nr_require&&__nr_require;if(!o&&a)return a(n,!0);if(i)return i(n,!0);throw new Error("Cannot find module '"+n+"'")}var s=e[n]={exports:{}};t[n][0].call(s.exports,function(e){var i=t[n][1][e];return r(i||e)},s,s.exports)}return e[n].exports}for(var i="function"==typeof __nr_require&&__nr_require,o=0;oe.max&&(e.max=t),t10||(g.releaseIds[e.slice(-200)]=(""+n).slice(-200))}var d=t(17),l=t(10),p=t(2),m=t(19),h=t(23),v=t(42),g=t("loader"),y=t("handle"),x=t(37),b=t(40),w=0,T=x.getConfiguration("ssl")===!1?"http":"https";l.on("jserrors",function(){return{body:p.take(["cm","sm"])}}),d("storeMetric",r,"api"),d("storeEventMetrics",i,"api");var S={finished:m(a),setPageViewName:o,setErrorHandler:c,addToTrace:s,inlineHit:u,addRelease:f};v(S,function(t,e){d("api-"+t,e,"api")});var E=0},{}],4:[function(t,e,n){function r(t,e,n){return t||0===t||""===t?e(t)+(n?",":""):"!"}function i(t,e){return e?Math.floor(t).toString(36):void 0===t||0===t?"":Math.floor(t).toString(36)}function o(){function t(t){return"undefined"==typeof t||""===t?"":(t=String(t),f.call(e,t)?i(e[t],!0):(e[t]=n++,s(t)))}var e=Object.hasOwnProperty("create")?Object.create(null):{},n=0;return t}function a(t,e){var n=[];return u(t,function(t,r){if(!(n.length>=d)){var i,o=5;switch(t=e(t),typeof r){case"object":r?i=e(c(r)):o=9;break;case"number":o=6,i=r%1?r:r+".";break;case"boolean":o=r?7:8;break;case"undefined":o=9;break;default:i=e(r)}n.push([o,t+(i?","+i:"")])}}),n}function s(t){return"'"+t.replace(l,"\\$1")}var u=t(42),c=t(22),f=Object.prototype.hasOwnProperty,d=64;e.exports={nullable:r,numeric:i,getAddStringContext:o,addCustomAttributes:a};var l=/([,\\;])/g},{}],5:[function(t,e,n){var r=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;e.exports=function(t,e){return t.replace(e?r:i,"$1$2")}},{}],6:[function(t,e,n){function r(t,e){var n=t[1];o(e[n],function(e,n){var r=t[0],i=n[0];if(i===r){var o=n[1],a=t[3],s=t[2];o.apply(a,s)}})}var i=t("ee"),o=t(42),a=t(17).handlers;e.exports=function(t){var e=i.backlog[t],n=a[t];if(n){for(var s=0;e&&se)return t.slice(0,r).join("");return t.join("")}function a(t,e){var n=0,r="";return u(t,function(t,o){var a,s,u=[];if("string"==typeof o)a="&"+t+"="+i(o),n+=a.length,r+=a;else if(o.length){for(n+=9,s=0;s=e));s++)u.push(a);r+="&"+t+"=%5B"+u.join(",")+"%5D"}}),r}function s(t,e){return e&&"string"==typeof e?"&"+t+"="+i(e):""}var u=t(42),c=t(22),f={"%2C":",","%3A":":","%2F":"/","%40":"@","%24":"$","%3B":";"},d=u(f,function(t){return t}),l=new RegExp(d.join("|"),"g");e.exports={obj:a,fromArray:o,qs:i,param:s}},{}],8:[function(t,e,n){var r=t(42),i=t("ee"),o=t(6);e.exports=function(t){t&&"object"==typeof t&&(r(t,function(t,e){e&&!a[t]&&(i.emit("feat-"+t,[]),a[t]=!0)}),o("feature"))};var a=e.exports.active={}},{}],9:[function(t,e,n){function r(t,e,n){this.loader=t,this.endpoint=e,this.opts=n||{},this.started=!1,this.timeoutHandle=null}var i=t(10),o=t(23);e.exports=r,r.prototype.startTimer=function(t,e){this.interval=t,this.started=!0,this.scheduleHarvest(null!=e?e:this.interval)},r.prototype.stopTimer=function(){this.started=!1,this.timeoutHandle&&clearTimeout(this.timeoutHandle)},r.prototype.scheduleHarvest=function(t,e){if(!this.timeoutHandle){var n=this;null==t&&(t=this.interval),this.timeoutHandle=setTimeout(function(){n.timeoutHandle=null,n.runHarvest(e)},1e3*t)}},r.prototype.runHarvest=function(t){function e(e){n.onHarvestFinished(t,e)}var n=this;if(this.opts.getPayload){var r=i.getSubmitMethod(this.endpoint,t);if(!r)return!1;var a=r.method===o.xhr,s=this.opts.getPayload({retry:a});if(s){s="[object Array]"===Object.prototype.toString.call(s)?s:[s];for(var u=0;u0&&a.forEach(function(t){!t.startTime||t.startTime<=0||("first-paint"===t.name?i.push(x.param("fp",String(Math.floor(t.startTime)))):"first-contentful-paint"===t.name&&i.push(x.param("fcp",String(Math.floor(t.startTime)))),L(t.name,Math.floor(t.startTime)))})}i.push(x.param("xx",t.info.extra)),i.push(x.param("ua",t.info.userAttributes)),i.push(x.param("at",t.info.atts));var s=b(t.info.jsAttributes);i.push(x.param("ja","{}"===s?null:s));var u=x.fromArray(i,t.maxBytes);w.jsonp(R+"://"+t.info.beacon+"/"+r+"/"+t.info.licenseKey+u,M)}}}function i(t){var e=g(H,function(e){return s(e,t,{unload:!0})});return T(e,o)}function o(t,e){return t||e}function a(t,e){for(var n=h(),r=h(),i=H[t]&&H[t]||[],o=0;o9||0===q,L=t(16).addMetric,P=t(38);e.exports={sendRUM:v(r),sendFinal:i,sendX:s,send:u,on:l,xhrUsable:_,resetListeners:p,getSubmitMethod:f}},{}],11:[function(t,e,n){var r=document.createElement("div");r.innerHTML="";var i,o=r.getElementsByTagName("div").length;i=4===o?6:3===o?7:2===o?8:1===o?9:0,e.exports=i},{}],12:[function(t,e,n){function r(t){a.sendFinal(c,!1),d.conditionallySet()}var i=t(21),o=t(25),a=t(10),s=t(17),u=t(8),c=t("loader"),f=t(6),d=t(14),l=t(37);t(3),t(24).init(c,l.getConfiguration("page_view_timing"));var p="undefined"==typeof window.NREUM.autorun||window.NREUM.autorun;window.NREUM.setToken=u,6===t(11)?c.maxBytes=2e3:c.maxBytes=3e4,c.releaseIds={},o(r),s("mark",i.mark,"api"),i.mark("done"),f("api"),p&&a.sendRUM(c)},{}],13:[function(t,e,n){function r(){return""+location}e.exports={getLocation:r}},{}],14:[function(t,e,n){function r(){var t=!0;"init"in NREUM&&"privacy"in NREUM.init&&(t=NREUM.init.privacy.cookies_enabled),a.navCookie&&t&&s.setCookie()}function i(){document.cookie="NREUM=s="+Number(new Date)+"&r="+o(document.location.href)+"&p="+o(document.referrer)+"; path=/"}var o=t(18),a=t(20),s={conditionallySet:r,setCookie:i};e.exports=s},{}],15:[function(t,e,n){function r(t,e){var n=t["navigation"+a];return e.of=n,o(n,n,e,"n"),o(t[u+a],n,e,"u"),o(t[c+a],n,e,"r"),o(t[u+s],n,e,"ue"),o(t[c+s],n,e,"re"),o(t["fetch"+a],n,e,"f"),o(t[f+a],n,e,"dn"),o(t[f+s],n,e,"dne"),o(t["c"+d+a],n,e,"c"),o(t["secureC"+d+"ion"+a],n,e,"s"),o(t["c"+d+s],n,e,"ce"),o(t[l+a],n,e,"rq"),o(t[p+a],n,e,"rp"),o(t[p+s],n,e,"rpe"),o(t.domLoading,n,e,"dl"),o(t.domInteractive,n,e,"di"),o(t[h+a],n,e,"ds"),o(t[h+s],n,e,"de"),o(t.domComplete,n,e,"dc"),o(t[m+a],n,e,"l"),o(t[m+s],n,e,"le"),e}function i(t,e){return o(t.type,0,e,"ty"),o(t.redirectCount,0,e,"rc"),e}function o(t,e,n,r){var i;"number"==typeof t&&t>0&&(i=Math.round(t-e),n[r]=i),v.push(i)}var a="Start",s="End",u="unloadEvent",c="redirect",f="domainLookup",d="onnect",l="request",p="response",m="loadEvent",h="domContentLoadedEvent",v=[];e.exports={addPT:r,addPN:i,nt:v}},{}],16:[function(t,e,n){function r(t,e){i[t]=e}var i={};e.exports={addMetric:r,metrics:i}},{}],17:[function(t,e,n){function r(t,e,n,r){i(r||o,t,e,n)}function i(t,e,n,r){r||(r="feature"),t||(t=o);var i=a[r]=a[r]||{},s=i[e]=i[e]||[];s.push([t,n])}var o=t("handle").ee;e.exports=r,r.on=i;var a=r.handlers={}},{}],18:[function(t,e,n){function r(t){var e,n=0;for(e=0;e6e4)return;return i}}}var a=t(18),s=t(21),u=t("loader"),c=t(39);e.exports={navCookie:!0},r()},{}],21:[function(t,e,n){function r(t,e){"undefined"==typeof e&&(e=a()+a.offset),s[t]=e}function i(t,e,n){var r=s[e],i=s[n];"undefined"!=typeof r&&"undefined"!=typeof i&&o.store("measures",t,{value:i-r})}var o=t(2),a=t(41),s={};e.exports={mark:r,measure:i}},{}],22:[function(t,e,n){function r(t){try{return o("",{"":t})}catch(e){try{s.emit("internal-error",[e])}catch(n){}}}function i(t){return u.lastIndex=0,u.test(t)?'"'+t.replace(u,function(t){var e=c[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function o(t,e){var n=e[t];switch(typeof n){case"string":return i(n);case"number":return isFinite(n)?String(n):"null";case"boolean":return String(n);case"object":if(!n)return"null";var r=[];if(n instanceof window.Array||"[object Array]"===Object.prototype.toString.apply(n)){for(var s=n.length,u=0;u0||N)&&(n.cls=e),c("lcp",Math.floor(t.startTime),n,!1),H=!0}}function o(t){if(I){var e=I[0];if(e.size>=t.size)return}I=[t,R]}function a(t){(t.startTime-q.lastEntryTime>1e3||t.startTime-q.firstEntryTime>5e3)&&(q={value:0,firstEntryTime:t.startTime,lastEntryTime:t.startTime}),q.value+=t.value,q.lastEntryTime=Math.max(q.lastEntryTime,t.startTime),R0||N)&&r&&(n.cls=R),A.push({name:t,value:e,attrs:n})}function f(t,e,n){"fi"===t&&setTimeout(i,0),c(t,e,n,!0)}function d(t){if(t.retry&&M.length>0){for(var e=0;e0&&(n+=y(o.length)+";"+o.join(";")),r+11?e[1]:"unknown"}function f(t){return t&&t.indexOf("nrWrapper")>=0}var d=t(45),l=t(28),p=!1,m=/function (.+?)\s*\(/,h=/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i,v=/^\s*(?:(\S*|global code)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,g=/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,y=/^\s*at Function code \(Function code:\d+:\d+\)\s*/i;e.exports=r},{}],28:[function(t,e,n){function r(t){var e;if(t.length>100){var n=t.length-100;e=t.slice(0,50).join("\n"),e+="\n< ...truncated "+n+" lines... >\n",e+=t.slice(-50).join("\n")}else e=t.join("\n");return e}function i(t){return t.length>a?t.substr(0,a):t}var o=/^\n+|\n+$/g,a=65530;e.exports=function(t){return r(t).replace(o,"")},e.exports.truncateSize=i},{}],29:[function(t,e,n){function r(t){var e=l.take(["err","ierr"]);t.retry&&(d=e);var n={body:e,qs:{}},r=E(g.releaseIds);return"{}"!==r&&(n.qs.ri=r),e&&e.err&&e.err.length&&!I&&(n.qs.pve="1",I=!0),n}function i(t){t.retry&&d&&(C(d,function(t,e){for(var n=0;n":n}function u(t,e){for(var n="",r=0;r=b)){var i,o,a={};"undefined"!=typeof window&&window.document&&window.document.documentElement&&(i=window.document.documentElement.clientWidth,o=window.document.documentElement.clientHeight);var u={timestamp:t+f.offset,timeSinceLoad:t/1e3,browserWidth:i,browserHeight:o,referrerUrl:s,currentUrl:v(""+location),pageUrl:v(f.origin),eventType:"PageAction"};d(u,r),d(T,r),n&&"object"==typeof n&&d(n,r),a.actionName=e||"",w.push(a)}}function a(t,e,n){T[e]=n}var s,u,c=t("ee"),f=t("loader"),d=t(42),l=t(22),p=t(17),m=t(10),h=t(9),v=t(5),g=t(37),y=240,x=g.getConfiguration("ins.harvestTimeSeconds")||30,b=y*x/60,w=[],T=f.info.jsAttributes={};document.referrer&&(s=v(document.referrer)),p("api-setCustomAttribute",a,"api"),c.on("feat-ins",function(){p("api-addPageAction",o),m.on("ins",r);var t=new h(f,"ins",{onFinished:i});t.startTimer(x,0)})},{}],32:[function(t,e,n){function r(t){var e,n,r,i=Date.now();for(e in t)n=t[e],"number"==typeof n&&n>0&&n=O)){var e=_[t.n];e||(e=_[t.n]=[]),e.push(t),L++}}function p(t,e){if(!(L>=O)){var n=_[t];n||(n=_[t]=[]),_[t]=e.concat(n),L+=e.length}}function m(t){M()||c(window.performance.getEntriesByType("resource"));var e=j(E(_,function(t,e){return t in R?j(E(j(e.sort(h),v(t),{}),g),y,[]):e}),y,[]);if(0===e.length)return{};t&&(P=_),_={},L=0;var n={qs:{st:""+b.offset,ptid:I},body:{res:e}};if(!I){n.qs.ua=b.info.userAttributes,n.qs.at=b.info.atts;var r=k(b.info.jsAttributes);n.qs.ja="{}"===r?null:r}return n}function h(t,e){return t.s-e.s}function v(t){var e=R[t][0],n=R[t][1],r={};return function(i,o){var a=i[o.o];a||(a=i[o.o]=[]);var s=r[o.o];return"scrolling"!==t||x(o)?s&&o.s-s.so.s-e?s.e=o.e:(r[o.o]=o,a.push(o)):(r[o.o]=null,o.n="scroll",a.push(o)),i}}function g(t,e){return e}function y(t,e){return t.concat(e)}function x(t){var e=4;return!!(t&&"number"==typeof t.e&&"number"==typeof t.s&&t.e-t.s9e5)return n.stopTimer(),void(_={});if(!(I&&L<=30))return m(t.retry)}r(window.performance.timing),T.on("resources",e);var n=new S(b,"resources",{onFinished:t,retryDelay:U});n.runHarvest({needResponse:!0}),w("bst",o),w("bstTimer",i),w("bstResource",c),w("bstHist",u),w("bstXhrAgg",d),w("bstApi",l),w("errorAgg",f)});var F=0}}},{}],33:[function(t,e,n){e.exports=function(){return"PerformanceObserver"in window&&"function"==typeof window.PerformanceObserver}},{}],34:[function(t,e,n){function r(t){if(0===s.length)return!0;for(var e=0;e0?s.push({hostname:n.substring(0,r),pathname:n.substring(r)}):s.push({hostname:n,pathname:""})}}function o(t,e){return!(t.length>e.length)&&e.indexOf(t)===e.length-t.length}function a(t,e){return 0===t.indexOf("/")&&(t=t.substring(1)),0===e.indexOf("/")&&(e=e.substring(1)),""===t||t===e}e.exports={shouldCollectEvent:r,setDenyList:i};var s=[]},{}],35:[function(t,e,n){function r(){return{ajaxEvents:H,spaAjaxEvents:I}}function i(t,e,n,r,i){e.time=n;var o;if(o=v(t.cat?[t.status,t.cat]:[t.status,t.host,t.pathname]),S("bstXhrAgg",["xhr",o,t,e]),p.store("xhr",o,t,e),d()){if(!C(t))return void M(t.hostname===w.info.errorBeacon?"Ajax/Events/Excluded/Agent":"Ajax/Events/Excluded/App");var a=this,s={method:t.method,status:t.status,domain:t.host,path:t.pathname,requestSize:e.txSize,responseSize:e.rxSize,type:i,startTime:n,endTime:r,callbackDuration:e.cbTime};if(a.dt&&(s.spanId=a.dt.spanId,s.traceId=a.dt.traceId,s.spanTimestamp=a.dt.timestamp),this.spaNode){var u=this.spaNode.interaction.id;I[u]=I[u]||[],I[u].push(s)}else H.push(s)}}function o(t){if(t=t||{},0===H.length)return null;for(var e=a(H,t.maxPayloadSize||q),n=[],r=0;r0&&d()&&(H=H.concat(N),N=[])}function u(){l.runHarvest({unload:!0})}function c(t,e){e=e||t.length;for(var n=[],r=0,i=t.length;r0&&(i+=";"+o.join(";")),e+1t}}function d(){var t=E.getConfiguration("ajax.enabled");return t!==!1}var l,p=t(2),m=t(17),h=t(10),v=t(22),g=t(4).nullable,y=t(4).numeric,x=t(4).getAddStringContext,b=t(4).addCustomAttributes,w=t("loader"),T=t("ee"),S=t("handle"),E=t(37),j=t(9),k=t(34).setDenyList,C=t(34).shouldCollectEvent,A=t(25),M=t(40).recordSupportability,H=[],I={},N=[];if(w.features.xhr){var R=E.getConfiguration("ajax.harvestTimeSeconds")||60,q=E.getConfiguration("ajax.maxPayloadSize")||1e6;d()&&k(E.getConfiguration("ajax.deny_list")),T.on("feat-err",function(){m("xhr",i),h.on("jserrors",function(){return{body:p.take(["xhr"])}}),d()&&(l=new j(w,"events",{onFinished:s,getPayload:o}),l.startTimer(R),A(u))}),e.exports=i,e.exports.prepareHarvest=o,e.exports.getStoredEvents=r,e.exports.shouldCollectEvent=C,e.exports.setDenyList=k,T.on("interactionSaved",function(t){I[t.id]&&delete I[t.id]}),T.on("interactionDiscarded",function(t){ I[t.id]&&d()&&(I[t.id].forEach(function(t){H.push(t)}),delete I[t.id])})}},{}],36:[function(t,e,n){var r={};e.exports=function(t){if(t in r)return r[t];var e=document.createElement("a"),n=window.location,i={};e.href=t,i.port=e.port;var o=e.href.split("://");!i.port&&o[1]&&(i.port=o[1].split("/")[0].split("@").pop().split(":")[1]),i.port&&"0"!==i.port||(i.port="https"===o[0]?"443":"80"),i.hostname=e.hostname||n.hostname,i.pathname=e.pathname,i.protocol=o[0],"/"!==i.pathname.charAt(0)&&(i.pathname="/"+i.pathname);var a=!e.protocol||":"===e.protocol||e.protocol===n.protocol,s=e.hostname===document.domain&&e.port===n.port;return i.sameOrigin=a&&(!e.hostname||s),"/"===i.pathname&&(r[t]=i),i}},{}],37:[function(t,e,n){function r(t){if(NREUM.init){for(var e=NREUM.init,n=t.split("."),r=0;r